package Utils;

import com.badlogic.gdx.Gdx;

public class GameUtils {
	// Singleton for this class
	private static GameUtils instance = null;
	
	public static GameUtils getInstance() {
		if(instance == null) {
			instance = new GameUtils();
		}
		return instance;
	}
	
	// Variables
	private int mapIndex;
	
	public int getMapIndex() {
		return mapIndex;
	}


	public void setMapIndex(int mapIndex) {
		if(mapIndex > 2) {
			mapIndex = 1;
			return;
		}
		this.mapIndex = mapIndex;
	}
	
	public static void printLog(String tag, String log) {
		Gdx.app.log(tag, log);
	}


	
	
	
}
